import turtle as t
def two_circle(small):
    t.circle(small//2)
    t.circle(small)
#下
t.seth(-90)
two_circle(20)
two_circle(-20)
#80线
t.sety(80)
#中
two_circle(40)
two_circle(-40)
#50线
t.sety(80+50)
#上左
t.seth(90)
t.circle(40,90)
t.circle(10)
#上右
t.up()
t.goto(0,80+50)
t.pd()
t.seth(90)
t.circle(-40,90)
t.circle(-10)

t.done()